package com.hznu.ez4life.myBeans;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.stereotype.Component;

import java.util.Date;
@Component
public class NeedItemSearch {

    private Integer userid;
    private String keyword;
    private Integer lowPrice;
    private Integer highPrice;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date begintime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date endtime;
    private Integer[] buildingIds;
    private Integer lowWeight;
    private Integer highWeight;
    private Integer[] stationIds;
    private Integer[] itemTypeIds;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getLowPrice() {
        return lowPrice;
    }

    public void setLowPrice(Integer lowPrice) {
        this.lowPrice = lowPrice;
    }

    public Integer getHighPrice() {
        return highPrice;
    }

    public void setHighPrice(Integer highPrice) {
        this.highPrice = highPrice;
    }

    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Integer[] getBuildingIds() {
        return buildingIds;
    }

    public void setBuildingIds(Integer[] buildingIds) {
        this.buildingIds = buildingIds;
    }

    public Integer getLowWeight() {
        return lowWeight;
    }

    public void setLowWeight(Integer lowWeight) {
        this.lowWeight = lowWeight;
    }

    public Integer getHighWeight() {
        return highWeight;
    }

    public void setHighWeight(Integer highWeight) {
        this.highWeight = highWeight;
    }

    public Integer[] getStationIds() {
        return stationIds;
    }

    public void setStationIds(Integer[] stationIds) {
        this.stationIds = stationIds;
    }

    public Integer[] getItemTypeIds() {
        return itemTypeIds;
    }

    public void setItemTypeIds(Integer[] itemTypeIds) {
        this.itemTypeIds = itemTypeIds;
    }
}
